<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      /* css的注释 */
    </style>
  </head>
  <body>
    <!-- html的注释 -->

    <script>
      // 单行注释   ctrl + /
      // console.log("hello JavaScript");

      // 多行注释   shift + alt + a
      /* function refreshRem() {
        // 获取设备的宽度
        var width = docEl.getBoundingClientRect().width;
        if (width / dpr > 768) {
          width = 768 * dpr;
        }
        // 计算跟字体大小
        var rem = width / 7.5;
        docEl.style.fontSize = rem + "px";
        flexible.rem = win.rem = rem;
      } */
    </script>
  </body>
</html>
